package com.dgut.ibeacon.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.Version;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author yuec
 * @since 2020-10-14
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("sys_bookshelf")
public class Bookshelf implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "bookshelf_id", type = IdType.AUTO)
    private Integer bookshelfId;

    private String bookshelfClassname;

    /**
     * 1开放2不开放
     */
    private Boolean ifOpenComment;

    private Integer bookshelfLayer;

    @TableField(fill = FieldFill.INSERT)
    private Date gmtCreate;

    @TableField(fill = FieldFill.UPDATE)
    private Date gmtModified;

    /**
     * 0存在1删除
     */
    @TableLogic
    private Boolean deleted;


}
